import Taro from "@tarojs/taro";
import { IS_IOS } from "../utils/system";
var useStatusBar = function () {
    var systemRef = Taro.getSystemInfoSync();
    var barHeight = IS_IOS ? 44 : 48;
    var statusBarHeight = Taro.getSystemInfoSync().statusBarHeight;
    var navHeight = barHeight + statusBarHeight;
    return [
        statusBarHeight,
        navHeight,
        systemRef
    ];
};
export default useStatusBar;
